# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-admin
pkgver=1.5.8
pkgrel=1
pkgdesc="Flask admin interface"
url="https://pypi.python.org/pypi/Flask-Admin"
arch="noarch"
license="BSD-3-Clause"
depends="
	python3
	py3-flask
	py3-wtforms
"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/F/Flask-Admin/Flask-Admin-$pkgver.tar.gz"
builddir="$srcdir"/Flask-Admin-$pkgver

replaces="py-flask-admin" # Backwards compatibility
provides="py-flask-admin=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
53e14ba6992b358280e69580fa9911539fb34069d08f43f658ef54387c6e2b700d3fb6d8e90a9ee3f8f3592eb936b76234b7afd93baa28d683683472e1d01283  Flask-Admin-1.5.8.tar.gz
"
